package com.iterator.mapper.wechat.tcy;

import com.iterator.bean.wechat.tcy.pojo.CartCoupon;
import com.iterator.bean.wechat.tcy.pojo.CartCouponExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
* @author tean_cy
* @date 2021/1/13 23:32
*/ 
public interface CartCouponMapper {
    long countByExample(CartCouponExample example);

    int deleteByExample(CartCouponExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CartCoupon record);

    int insertSelective(CartCoupon record);

    List<CartCoupon> selectByExample(CartCouponExample example);

    CartCoupon selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CartCoupon record, @Param("example") CartCouponExample example);

    int updateByExample(@Param("record") CartCoupon record, @Param("example") CartCouponExample example);

    int updateByPrimaryKeySelective(CartCoupon record);

    int updateByPrimaryKey(CartCoupon record);
}